
package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.PlaneInfo;

public interface PlaneInfoDao extends Dao {

    /**
     * Retrieves all of the planeInfos
     */
    public List getPlaneInfos(PlaneInfo planeInfo);

    /**
     * Gets planeInfo's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the planeInfo's id
     * @return planeInfo populated planeInfo object
     */
    public PlaneInfo getPlaneInfo(final Integer id);

    /**
     * Saves a planeInfo's information
     * @param planeInfo the object to be saved
     */    
    public void savePlaneInfo(PlaneInfo planeInfo);

    /**
     * Removes a planeInfo from the database by id
     * @param id the planeInfo's id
     */
    public void removePlaneInfo(final Integer id);
}

